package Server.DataBase;

import java.io.Serializable;
/**
 * 
 * class handle request for manager
 *
 */
public class Request implements Serializable{
	
	/**
	 * static final long serialVersionUID = 1L
	 */
	private static final long serialVersionUID = 1L;
/**
 * Request idRequest
 */
	private int idRequest;
	/**
	 * User user
	 */
	private User user;
	/**
	 * Lesson lesson
	 */
	private Lesson lesson;
	/**
	 * request mode pass or dismiss request
	 */
	private int mode;
/**
 * Request constructor
 * @param idRequest
 * @param lesson
 * @param user
 * @param mode
 */
	public Request(int idRequest, Lesson lesson, User user, int mode) {
		super();
		this.idRequest = idRequest;
		this.user = user;
		this.lesson = lesson;
		this.mode = mode;
	}
/**
 * 
 * @return idRequest
 */
	public int getIdRequest() {
		return idRequest;
	}
/**
 * 
 * @return user
 */
	public User getUser() {
		return user;
	}
/**
 * 
 * @return lesson
 */
	public Lesson getLesson() {
		return lesson;
	}
/**
 * 
 * @return mode
 */
	public int getMode() {
		return mode;
	}	
}
